<extend name="Public/base"/>

<block name="content">   
    <ul class="nav nav-tabs">
  <li ><a href="{:U('Index/index')}"><i class="glyphicon glyphicon-home"></i>首页</a></li>
   <li><a href="{:U('Index/upload')}">资料上传</a></li>
   <li class="active"><a href="{:U('Beike/addsubject')}">课程管理</a></li>
   <li><a href="{:U('Index/myupload','id='.$vo['id'])}" >我的上传情况</a><li>
   </ul>
	<!-- 标题栏 -->
           <h3>学科管理 </h3>  
      <div class="form-inline">
        <form method='post' id="form" name="form" action="" >      
           <div class="col-md-4 form-group">
           <label class="control-lable" for="class">学　科：</label>
           <select name="subject" id="subject" class="form-control"  style="width:180px;">
            <option value="" > 请选择学科</option>
            <option value="语文" > 语文</option>
            <option value="数学" > 数学</option>
            <option value="科学" > 科学</option>
            <option value="英语" > 英语</option>
            <option value="体育" > 体育</option>
            <option value="音乐" > 音乐</option>
            <option value="美术" > 美术</option>
            <option value="信息" > 信息</option>
             </select>                  
            </div>
            <div class="form-group">
                 <label class="control-lable">教师：</label>           
                <input class="form-control" type="text"  name="teacher" value="{$my.teacher}" placeholder="请输入姓名"><span class="check-tips">如果未能正确显示姓名，请重新登录</span>   
            </div><br/> 
            <div class="form-group">
                 <label class="control-lable">上传目录：</label>           
                <input class="form-control" type="text"  name="savepath" value="" placeholder="请输入上传路径">
            </div><br/> 
            <div class="form-group">
                 <label class="control-lable">学科介绍：</label>  
                 <textarea name="description" class="text input-large"></textarea>
              {:hook('adminArticleEdit', array('name'=>'description','value'=>$data['description']))}  
            </div><br/>   

      <div class="form-actions"> 
        <button type="submit" class="btn btn-primary">确定</button>
        <button type="button" class="btn btn-danger">取消</button>  
        </div>
      </form> 
      </div>  
 </div> 
</block>

